const startSearchModelDic = {
    EQ: {value: "#{eq}", label: "等于"},
    GT: {value: "#{gt}", label: "大于"},
    GE: {value: "#{ge}", label: "大于等于"},
    LT: {value: "#{lt}", label: "小于"},
    LE: {value: "#{le}", label: "小于等于"},
    NE: {value: "#{ne}", label: "不等于"},
    BETWEEN: {value: "#{between}", label: "之间"},
    NOT_BETWEEN: {label: "不在之间", value: "not_between"},

    LIKE: {value: "#{like}", label: "全模糊"},
    NOT_LIKE: {value: "#{no_like}", label: "不包含模糊内容"},
    LIKE_LEFT: {value: "#{like_left}", label: "左模糊"},
    LIKE_RIGHT: {value: "#{like_right}", label: "右模糊"},
    IN: {value: "#{in}", label: "in"},
    NOT_IN: {value: "#{not_in}", label: "not_in"},
    IS_NULL: {value: "#{is_null}", label: "is_null"},
    IS_NOT_NULL: {value: "#{in_not_null}", label: "is_not_null"},
    CUSTOM_SQL: {value: "#{custom_sql}", label: "自定义sql"},
}
const startOrderModel = {
    ASC: {value: "#{asc}", label: "正序"},
    DESC: {value: "#{desc}", label: "倒序"},
}
const startSearchModel = {
    EQ: startSearchModelDic.EQ.value,
    GT: startSearchModelDic.GT.value,
    GE: startSearchModelDic.GE.value,
    LT: startSearchModelDic.LT.value,
    LE: startSearchModelDic.LE.value,
    NE: startSearchModelDic.NE.value,
    BETWEEN: startSearchModelDic.BETWEEN.value,
    NOT_BETWEEN: startSearchModelDic.NOT_BETWEEN.value,
    LIKE: startSearchModelDic.LIKE.value,
    NOT_LIKE: startSearchModelDic.NOT_LIKE.value,
    LIKE_LEFT: startSearchModelDic.LIKE_LEFT.value,
    LIKE_RIGHT: startSearchModelDic.LIKE_RIGHT.value,
    IN: startSearchModelDic.IN.value,
    NOT_IN: startSearchModelDic.NOT_IN.value,
    IS_NULL: startSearchModelDic.IS_NULL.value,
    IS_NOT_NULL: startSearchModelDic.IS_NOT_NULL.value,
    CUSTOM_SQL: startSearchModelDic.CUSTOM_SQL.value,
    ORDER: {
        ASC: startOrderModel.ASC.value,
        DESC: startOrderModel.DESC.value,
        getDict() {
            return startOrderModel;
        }
    },
    getDict() {
        return startSearchModelDic;
    }
}
export default startSearchModel
